package com.petshop.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

/**
 * &#064;TableName  orders
 */
@TableName(value = "orders")
@Data
public class Orders {
    @TableId(value = "order_id", type = IdType.AUTO)
    private Integer orderId;
    private Integer userId;
    private String name;
    private BigDecimal totalAmount;
    private String status;
    private Integer buyNumber;
    private Integer productId;
    private BigDecimal price;
    private String receiver;
    private String address;
    private String orderImage;
    private String phoneNumber;
    private Integer goodId;
    private Date createdAt;
    private Date updatedAt;
}